<%inherit file="/autohandler"/> 
<h1 class="main">Add annodex media from a directory</h1>
Note: This is for local use only - same machine as the server
<p>
This allows importation of cmml and ogg files, for encoding to annodex format (anx), given a directory.  Basically it expects a directory full of cmml and ogg files, in pairs (ie same basename - something.cmml, something.ogg; anotherthing.cmml, anotherthing.ogg).

${ h.form(h.url_for(action='addannodexindirmedia'), multipart=True) } 
<table>
<tr>
<td>Directory:</td>
<td>${ h.text_field('mediadir') } </td>
</tr>
<tr>
<td>Collection:</td>
<td>${ h.select("collection", c.collectioninfo)}</td>
</tr>
</table>
${ h.submit('Submit') } 
${ h.end_form() } 

